package cn.springboot;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication//使用它需要放在全局包下
//@ComponentScan("cn.springboot.controller")
@MapperScan(basePackages = {"cn.springboot.mapper"})
//@EnableAutoConfiguration
public class AppJsp {
    public static void main(String[] args) {
        SpringApplication.run(AppJsp.class,args);
    }
}
